package jmu.cze.mapper;

import jmu.cze.pojo.Country;
import org.apache.ibatis.annotations.MapKey;
import org.springframework.stereotype.Repository;

import java.util.Map;
@Repository
public interface CountryMapper {
    @MapKey("countryID")
    Map<Integer, Country> selectAllCountries();

    int deleteCountryByID(int countryID);

    int insertCountry(Country country);

    int updateCountry(Country country);
}
